/**
 * Created by tangxiafeng on 17/4/15.
 */
const lib = require('../libs/lib_user');

module.exports = function (app, express) {

    let api = express.Router();

    api.post('/register', lib.register);
    api.post('/login', lib.login);
    api.get('/list', lib.list);
    
    return api;
};